package org.japo.java.basics.entities;

import javax.swing.JFrame;
import javax.swing.JLabel;

/**
 *
 * @author Stefa Perez
 */
class IGU extends JFrame {
JLabel lblVentana;
    IGU() {
        iniciarComponentes();
    }

    private void iniciarComponentes() {
        GEV gev = new GEV (this);
        addWindowListener(gev);
        setTitle("Ventana Centrada");
        setSize(300, 200);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
    }
}